<template>
  <el-card>
    <div class="box" :style="{fontSize:fontSize,color:color}">
      <div class="left">
        <slot name="left" />
      </div>
      <div class="right">
        <slot name="right" />
      </div>
    </div>
  </el-card>
</template>

<script>
export default {
  name: '',
  props: {
    fontSize: {
      type: [String, Number],
      default: '12px'
    },
    color: {
      type: String,
      defaut: '#ccc'
    }
  }
}

</script>
<style lang='scss' scoped>
  .el-card {
		margin-bottom: 20px;
    .box {
      display: flex;
      justify-content: space-between;
      align-items: center;

      .right {
        display: flex;
        justify-content: space-around;
      }
    }

  }

</style>
